package com.cabd.dao;

import java.sql.SQLException;

import com.cabd.domain.User;

public interface UserDao {
	/**
	* 添加用户
	* @param user
	 * @throws SQLException 
	*/
	void add(User user) throws SQLException;
	User findUserByUserIdAndPassword(User user) throws SQLException;
	User findUserById(String str) throws SQLException;
}
